using System.Threading;
using game_config;

namespace game_stuff
{
    public class BagItemAddStatus
    {
        private float PointDamageAdd { get; set; }

        public void Refresh(float[] vector)
        {
            PointDamageAdd = vector[0];
        }

        public float GetDamageMulti(PlayingItemBag playingItemBag)
        {
            var num = playingItemBag.GameItems.TryGetValue(item_id.point, out var p) ? p : 0;
            return PointDamageAdd * num;
        }
    }
}